#define BBDECL extern "C" __declspec(dllexport)

#include "btBulletDynamicsCommon.h"
#include <stdio.h>
#include <string.h>
#include <iostream>
#include "bVector3.h"
#include "bQuaternion.h"

class bBullet
{
public:
	bBullet(float gravX, float gravY, float gravZ);
	~bBullet(void);

	btDiscreteDynamicsWorld* getDynamicsWorld();
	void Update(btScalar timeStep, int maxSubSteps, btScalar fixedTimeStep);
	void Update();

protected:
	btDefaultCollisionConfiguration* collisionConfiguration;
	btCollisionDispatcher* dispatcher;
	btBroadphaseInterface* overlappingPairCache;
	btSequentialImpulseConstraintSolver* solver;
	btDiscreteDynamicsWorld* dynamicsWorld;

};

enum CSTyp
{
	CS_BOX = 1,
	CS_SPHERE
};